package com.qst.financing.service;


import com.github.pagehelper.PageInfo;
import com.qst.financing.pojo.Finance;
import com.qst.financing.pojo.Intention;
import com.qst.financing.pojo.Recommender;

import java.util.List;

public interface FinanceService {

    List<Intention> selectIntentionByName(String name);

    void insertIntentionByName(Intention intention);

    void updateIntentionByName(Intention intention);

    void deleteIntentionByName(String name);

    List<Recommender> selectRecommend(String name);

    PageInfo<Recommender> selectRecommendFY(Integer pageNum);//fen页查询融资推荐人

    PageInfo<Finance> selectByFinance(Finance finance, Integer pageNum);//根据银行id与申请人查询融资情报

    Finance selectByFinanceId(Integer id);//根据finance_id查询融资情报

    void updateByFinance(Finance finance);//根据finance_id修改融资情报

}
